Vapi Metadata Metamodel ConstantInfo

Vapi Metadata Metamodel ConstantInfo
Vapi Metadata Metamodel ConstantInfo

The Vapi Metadata Metamodel ConstantInfo schema contains metamodel information of the constant elements.

JSON Example
{
    "type": {
        "category": "string",
        "builtin_type": "string",
        "user_defined_type": {
            "resource_type": "string",
            "resource_id": "string"
        },
        "generic_instantiation": "Vapi Metadata Metamodel GenericInstantiation Object"
    },
    "value": {
        "category": "string",
        "primitive_value": {
            "type": "string",
            "boolean_value": false,
            "double_value": "number",
            "long_value": 0,
            "string_value": "string"
        },
        "list_value": [
            {
                "type": "string",
                "boolean_value": false,
                "double_value": "number",
                "long_value": 0,
                "string_value": "string"
            }
        ]
    },
    "documentation": "string"
}
type
Required

Type of the constant element.

value
Required

Value of the constant element.

string
documentation
Required

English language documentation for the constant element. It can contain HTML markup and documentation tags (similar to Javadoc tags).